﻿using System;

namespace ServerUtils
{
    public class LogGenerator
    {
        public event EventHandler<LogEventArgs> Log;

        protected virtual void OnLog(LogEventArgs e)
        {
            var handle = this.Log;
            if (handle != null)
            {
                handle(this, e);
            }
        }
    }
}
